package com.ruoyi.mixuebingcheng.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 comment
 *
 * @author ruoyi
 * @date 2023-10-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("comment")
public class Comment extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 商品id
     */
    private Long goodId;
    /**
     * 内容
     */
    private String content;
    /**
     * 父评论id
     */
    private Long parentId;
    /**
     * 根评论id
     */
    private Long rootParentId;

}
